﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="GoodsList.aspx.cs" Inherits="Ewts.BaseData.GoodsList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<h2 style="text-align:center; font-size:14px; height:45px;">物料维护</h2>
<br />
<div class="shadow2"> 
   
        
            <table id="tbCusAddr" class="display" cellpadding="0" cellspacing="0" border="1" style="width:100%; border-color:#ccc;">
                <thead>
                    <tr>
                        <th>编号</th>
                        <th>物品编码</th>
                        <th>物品类型</th>
                        <th>物品名称</th>
                        <th>备注&说明</th>
                        <th>操作</th>
                    </tr>
                </thead>            
               
      
         <tbody>
          <asp:Repeater ID="rept" runat="server">
        <ItemTemplate>

                    <tr>
                        <td><%# Container.ItemIndex + 1 %></td>
                        <td><%# Eval("goodsName")%></td>
                        <td><%# Eval("goodsType")%></td>
                        <td><%# Eval("describe")%></td>
                        <td><%# Eval("remark")%></td>
                         <td>
                            <a href="GoodsShow.aspx?id=<%# Eval("id")%>">详细</a>
                            <a href="GoodsModify.aspx?id=<%# Eval("id")%>">编辑</a>
                        </td>
                    </tr>
        </ItemTemplate>
        </asp:Repeater>
          
    </tbody>      
            </table>
      
  
</div>                                    
<script type="text/javascript">

    $(document).ready(function () {

        $('#tbCusAddr').dataTable({ "oLanguage":
                { "sUrl": "/jquery/jquery.dataTable.cn.txt" },

            "iDisplayLength": 20,
            "bSort": true,

            "aaSorting": [[0, "asc"]]
        });

    });
 
</script>
</asp:Content>
